package org.wltea.analyzer.dic;

import org.apache.logging.log4j.Logger;
import org.wltea.analyzer.help.ESPluginLoggerFactory;

//加载字典线程
public class HotDictReloadThread{

    private static final Logger logger = ESPluginLoggerFactory.getLogger(HotDictReloadThread.class.getName());
	
	public void initial() {
		while(true) {
			logger.info("[==========]reload hot dict from db......");
			Dictionary.getSingleton().reLoadMainDict();
        }
	}

}
